﻿<Page
    x:Class="Mazik.WinRT.Components.SignaturePage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Mazik.WinRT.Components"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  
    mc:Ignorable="d">
    <Page.Resources>
        <ResourceDictionary Source="Themes/Generic.xaml"/>
    </Page.Resources>
    
    <Grid x:Name="vistaGrid">
        <Grid.Background>
            <SolidColorBrush Opacity="0.7" Color="#FF004051" />
        </Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="1.5*" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Grid x:Name="accentGrid" Grid.Row="1"  Background="#FF004051">
            <Viewbox>
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="100"/>
                    </Grid.RowDefinitions>
                    <Border HorizontalAlignment="Stretch" Background="White" Margin="0 10 0 0" VerticalAlignment="Top" BorderThickness="1" ScrollViewer.VerticalScrollBarVisibility="Disabled" ScrollViewer.HorizontalScrollBarVisibility="Disabled">
                        <!--<Canvas Margin="1" Height="172" Background="White" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" PointerPressed="Canvas_PointerPressed_1" PointerMoved="Canvas_PointerMoved_1" PointerExited="Canvas_PointerReleased_1" PointerReleased="Canvas_PointerReleased_1"/>-->
                        <Canvas Name="panelcanvas" Background="Transparent" Margin="1" Height="172" HorizontalAlignment="Stretch" />

                    </Border>
                    <StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center">
                        <Button Grid.Column="1"  Width="50" Height="50" Margin="25 0"
                                VerticalContentAlignment="Center"
                                Click="Save_Click"
                                Content="&#xE105;" FontFamily="Segoe UI Symbol"
                                FontSize="25"
                                Style="{StaticResource DarkBtnStyle}"
                                />
                        <Button Grid.Column="1"  Width="50" Height="50" Margin="25 0"
                                VerticalContentAlignment="Center"
                                Click="Clear_Click"
                                Content="&#xE1C5;" FontFamily="Segoe UI Symbol"
                                FontSize="25"
                                Style="{StaticResource DarkBtnStyle}"
                                 />
                        <Button Grid.Column="2" Width="50" Height="50"
                                Margin="25 0"
                                VerticalContentAlignment="Center"
                                Click="Cancel_Click"
                                Content="&#xE106;"
                                FontFamily="Segoe UI Symbol"
                                FontSize="25"
                                Style="{StaticResource DarkBtnStyle}"
                               />

                    </StackPanel>
                </Grid>
            </Viewbox>
        </Grid>
    </Grid>
</Page>